package com.cuijq.idempotent.v2;

/**
 * @author by CuiJQ
 * @Classname IdempotenceStorage
 * @Description IdempotenceStorage Description
 * @Date 2021/6/1 11:52
 */
public interface IdempotenceStorage {

  //(接口：用来读写幂等号)
  boolean saveIfAbsent(String idempotenceId);

  void delete(String idempotenceId);
}
